package com.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Customer entity. @author MyEclipse Persistence Tools
 */

public class Customer implements java.io.Serializable {

	// Fields

	private Integer cid;
	private String cname;
	private String csex;
	private Date cage;
	private String cnum;
	private String cmail;
	private String professional;
	private Integer member;
	private Set serverlogs = new HashSet(0);

	// Constructors

	/** default constructor */
	public Customer() {
	}

	/** minimal constructor */
	public Customer(String cname, String cnum, String cmail, Integer member) {
		this.cname = cname;
		this.cnum = cnum;
		this.cmail = cmail;
		this.member = member;
	}

	/** full constructor */
	public Customer(String cname, String csex, Date cage, String cnum,
			String cmail, String professional, Integer member, Set serverlogs) {
		this.cname = cname;
		this.csex = csex;
		this.cage = cage;
		this.cnum = cnum;
		this.cmail = cmail;
		this.professional = professional;
		this.member = member;
		this.serverlogs = serverlogs;
	}

	// Property accessors

	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public String getCname() {
		return this.cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public String getCsex() {
		return this.csex;
	}

	public void setCsex(String csex) {
		this.csex = csex;
	}

	public Date getCage() {
		return this.cage;
	}

	public void setCage(Date cage) {
		this.cage = cage;
	}

	public String getCnum() {
		return this.cnum;
	}

	public void setCnum(String cnum) {
		this.cnum = cnum;
	}

	public String getCmail() {
		return this.cmail;
	}

	public void setCmail(String cmail) {
		this.cmail = cmail;
	}

	public String getProfessional() {
		return this.professional;
	}

	public void setProfessional(String professional) {
		this.professional = professional;
	}

	public Integer getMember() {
		return this.member;
	}

	public void setMember(Integer member) {
		this.member = member;
	}

	public Set getServerlogs() {
		return this.serverlogs;
	}

	public void setServerlogs(Set serverlogs) {
		this.serverlogs = serverlogs;
	}

}